package com.haoyeteng.sxbd.modular.fdc.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;

import java.util.Date;

public class UsersExcel {
    @Excel(name = "用户姓名")
    private String name;
    @Excel(name = "状态", replace = {"允许使用_0", "禁用_1"})
    private Integer status;
    @Excel(name = "性别", replace = {"女_0", "男_1"})
    private Integer gender;
    @Excel(name = "手机号")
    private String phone;
    @Excel(name="邮件地址")
    private  String email;
    @Excel(name = "创建时间", format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @Excel(name = "更新时间", format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "UsersExcel{" +
                "name='" + name + '\'' +
                ", status=" + status +
                ", gender=" + gender +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", createDate=" + createDate +
                ", updateTime=" + updateTime +
                '}';
    }
}
